{include file="pub/header" /}
	<div class="body">
		<div class="search">
			<form action="">
				<input type="text" name="wechat_name"  value="{$wechat_name}" placeholder="请输入名称">
				<input type="submit" value="搜索" />
			</form>
		</div>
		<div class="nav">
			<button onclick="delall('/admin/wechat/delete.html?id=');">批量删除</button>
			<a href="/admin/wechat/add.html">添加</a>
		</div>
		<div class="table">
			<table cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						
						<th><input type="checkbox" name="all" /></th>
						<th>ID</th>
						<th>公众号名字</th>
						<th>appid</th>
						<th>token</th>
						<th>url</th>
						<th>图片</th>
						<th>简介</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					{foreach name="list" item="vo" }
					    <tr>
							<td><input type="checkbox" name="id" value="{$vo.id}" /></td>
							<td>{$vo.id}</td>
							<td>{$vo.wechat_name}</td>
							<td>{$vo.appid}</td>
							<td>{$vo.token}</td>
							<td>{$vo.url}</td>
							<td><img src="{$vo.image}" alt=""></td>
							<td>{$vo.content}</td>
							<td>
								<a href="/admin/wechat/update.html?id={$vo.id}" >修改</a>
								<span ajax-return="/admin/wechat/delete.html?id={$vo.id}">删除</span>
							</td>
						</tr>
					{/foreach}
				</tbody>
			</table>
		</div>
		<div class="page">
			{$page}
		</div>
	</div>
{include file="pub/footer" /}
